<template>
  <div class="kecheng">
  <div class="p1"><p><i>&nbsp;</i> &nbsp;&nbsp;&nbsp;代办事项</p></div>
    <el-table
      :data="tableData"
      style="width: 470px; margin-left: 64px; margin-right: 66px;">
      <el-table-column
        label="课程"
        width="100">
        <template slot-scope="scope"><img :src="scope.row.tu" alt=""></template>
      </el-table-column>
      <el-table-column
        prop="kenema"
        label="课程名称"
        width="140">
      </el-table-column>
      <el-table-column
        prop="name"
        label="授课老师">
      </el-table-column>
            <el-table-column
        prop="qian"
        label="课程价格(元)">
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
      data() {
        return {
          tableData: [{
            tu:require('../img/main-kecheng1.png'),  
            kenema: '幼儿英语入门课程',
            name: '王大山',
            qian: '2366.00'
          }, {
            tu: require('../img/main-kecheng2.png'),
            kenema: '幼儿英语入门课程',
            name: '王大山',
            qian: '2366.00'
          }]
        }
      }
    }
</script>

<style lang="less" scoped>
.kecheng{
  width: 590px;
  height: 250px;
  margin-left: 10px;
  background-color: #ffffff;
  overflow: hidden;
   .p1{
    margin-left: 24px;
    margin-right: 22px;
    margin-top: 24px;
    margin-bottom: 10px;
    font-size: 16px;
    color:#333;
    font-weight: 700;
    i{
      background-color: #438afe;
    }
  }
}
/deep/ .el-table th.el-table__cell>.cell{
  padding-left: 0;
  padding-right: 0;
  text-align: center;
  color: #333;
  font-weight: 700;
}
/deep/ .el-table td.el-table__cell div {
    text-align: center;
}
</style>